<template>
  <div class="setUp">
    <!-- 导航栏 -->
    <div class="set-nav">
      <div class="my-back" v-on:click="backFn()">
        <i class="iconfont icon-arrowLeft-fill"></i>
      </div>
      <div class="set-red">
        <span>设置</span>
      </div>
    </div>
    <!-- 列表内容 -->
    <div class="set-list">
        <ul>
            <li>
                <router-link to='/mydelay'>
                   <pc-list>
                       <template v-slot:txt>
                            <span>夜间模式</span>
                       </template>
                   </pc-list>
                </router-link>
            </li>
             <li>
                   <router-link to='/mydelay'>
                   <pc-list>
                       <template v-slot:txt>
                            <span>阅读版式</span>
                       </template>
                   </pc-list>
               </router-link>
            </li>
             <li>
                  <router-link to='/mydelay'>
                   <pc-list>
                       <template v-slot:txt>
                            <span>语言</span>
                       </template>
                   </pc-list>
                </router-link>
            </li>
             <li>
                  <router-link to='/mydelay'>
                   <pc-list>
                       <template v-slot:txt>
                            <span>回复通知</span>
                       </template>
                   </pc-list>
                </router-link>
            </li>
            <li>
                   <router-link to='/mydelay'>
                   <pc-list>
                       <template v-slot:txt>
                            <span>默认启动页</span>
                       </template>
                   </pc-list>
               </router-link>
            </li>
            <li><a href="#"><div class="blank"></div></a></li>
              <li>
                  <router-link to='/mydelay'>
                   <pc-list>
                       <template v-slot:txt>
                            <span>分享给朋友</span>
                       </template>
                   </pc-list>
               </router-link>
            </li>
              <li>
                  <router-link to='/mydelay'>
                   <pc-list>
                       <template v-slot:txt>
                            <span>关于</span>
                       </template>
                   </pc-list>
                </router-link>
            </li>
            <li>
                <a href="#">
                    <div class="login">
                        <span  @click="loginIn">退出登入</span>
                    </div>
                </a>
            </li>
        </ul>
    </div>
  </div>
</template>

<script>
import pcList from "@/public/pc_list.vue";

export default {
  data() {
    return {};
  },
  methods: {
    backFn() {
      this.$router.go(-1);
    },
     loginIn(){
      this.$router.push('/jump');
    }
  },
  components:{
      pcList
  }
};
</script>

<style lang="scss" scoped>
@import "../assets/css/reset.css";
.setUp {
  width: 100%;
  height: 666px;
  background: #fff;
  .set-nav {
    height: 50px;
    position: relative;
    div {
      height: 50px;
      position: absolute;
    }
    .my-back {
      width: 50px;
      text-align: center;
      line-height: 50px;
      i {
        font-size: 30px;
      }
    }
    .set-red {
      width: 100px;
      left: 38%;
      text-align: center;
      line-height: 50px;
      font-size: 20px;
      font-weight: bold;
    }
  }
  .blank{
      height: 40px;
  }
  .login{
      width: 320px;
      height: 60px;
      margin: 10px auto 0;
      border-bottom: 1px solid #f0f0f0;
      text-align: center;
      line-height: 60px;
      font-size: 18px;
      color: #808080;
  }
}
</style>